import React from 'react';
import { DatePicker } from 'antd';
import { DatePickerProps } from 'antd/lib/date-picker/interface';

export interface HYDatePickerProps extends DatePickerProps {}

class HYDatePicker extends React.Component<HYDatePickerProps, any> {
  constructor(props) {
    super(props);
  }

  render() {
    return <DatePicker {...this.props} />;
  }
}

export default HYDatePicker;
